from django.conf.urls.defaults import patterns
from pos.views import ListPosView
from pos.views import CreatePosView, UpdatePosView, DeletePosView

urlpatterns = patterns(
    "pos.views"
    , (r"^$", ListPosView.as_view())
    , (r"^create/$", CreatePosView.as_view())
    , (r"^(?P<pk>\d+)/delete/", DeletePosView.as_view())
    , (r"^(?P<pk>\d+)/", UpdatePosView.as_view())
)